package dome2;

import dome2.USB;

public class KeyBoard implements USB {
    @Override
    public void openDevice() {
        System.out.println("打开键盘.......");
    }

    public void inPut(){
        System.out.println("键盘输入......");
    }
    @Override
    public void closeDevice() {
        System.out.println("关闭键盘.......");
    }

    @Override
    public void test() {
        System.out.println("KeyBoard重写的test方法......");
    }
}
